x86: ->shutdown() in free_irq() should be passed vector, not irq.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 6 Feb 2009 10:39:10 +0000 (10:39 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 6 Feb 2009 10:39:10 +0000 (10:39 +0000)
Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
xen/arch/x86/irq.c

index 2596011945d2212d4a34cf207e504748cecd2c47..f0e8d599dbdbac9b01535335c945fa1a8a6e32e2 100644 (file)
@@ -147,7 +147,7 @@ void free_irq(unsigned int irq)
     desc->action  = NULL;
     desc->depth   = 1;
     desc->status |= IRQ_DISABLED;
-    desc->handler->shutdown(irq);
+    desc->handler->shutdown(vector);
     spin_unlock_irqrestore(&desc->lock,flags);
 
     /* Wait to make sure it's not being used on another CPU */